class Proxysettings < ActiveRecord::Migration
  def self.up
     add_column :settings, :proxy_use, :integer, :null => false,:default =>'0'
     add_column :settings, :proxy_addr, :text
     add_column :settings, :proxy_port, :integer, :null => false,:default =>'0'
  end

  def self.down
     remove_column :settings, :proxy_use
     remove_column :settings, :proxy_addr
     remove_column :settings, :proxy_port
  end
end
